package com.freshmarket.freshmarket.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.freshmarket.freshmarket.entity.Coupon;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Squirrel
 * @since 2020-09-04
 */
public interface CouponMapper extends BaseMapper<Coupon> {

    IPage<Coupon> queryCoupon(Page<Object> objectPage, String couponStatus,String couponDiscountsStatus);

    IPage<Coupon> queryCouponAll(Page<Object> objectPage);
}
